package com.rookieci.plugin.core;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;

/**
 * Created by 磁磁帅 on 2023/4/27 0027.
 * 功能：
 */
public interface PluginInterface {
    void attach(Activity activity);

    void onCreate(Bundle savedInstance);

    void onStart();

    void onResume();

    void onPause();

    void onStop();

    void onDestroy();

    void onBackPressed();

    boolean onTouchEvent(MotionEvent event);

    void onSaveInstanceState(Bundle outState);
}
